package com.Clause;

public class Variable extends ClauseElement{

	private String nom;
	
	public Variable(char c){
		nom = ""+c;
	}
	
	public Variable(String nom){
		this.nom=nom;
	}
	
	public String getNom(){
		return nom;
	}
	
	public boolean equals(Variable variable){
		return nom.equals(variable.getNom());
	}
	
	public String toString(){
		return nom;
	}
	
	public Variable copie(){
		return new Variable(new String(nom));
	}
	
}
